<div id="signup-main">
  <h1>Sign Up</h1>
  <p><%= link_to 'Simply sign in using your OpenID.', {:controller => 'session', :action => 'new'}, {:title => 'Sign into Gistr'} %></p>
  <p style="font-weight:bolder;">Or...</p>
  <h2>Get a Gistr OpenID</h2>
  <p>and use it on thousands of web sites.</p>
  <%= error_messages_for :user %>
  <% form_for :user, :url => users_path do |f| -%>
    <p>
      <label for="openid_user_name">Select a username: </label>
      <%= text_field_tag "openid_user_name" %>
    </p>
    <p>
      <%= submit_tag 'Sign Up' %>
    </p>
  <% end -%>
</div>

<!--
<%= error_messages_for :user %>
<% form_for :user, :url => users_path do |f| -%>
<p><label for="login">Login</label><br/>
<%= f.text_field :login %></p>

<p><label for="email">Email</label><br/>
<%= f.text_field :email %></p>

<p><label for="password">Password</label><br/>
<%= f.password_field :password %></p>

<p><label for="password_confirmation">Confirm Password</label><br/>
<%= f.password_field :password_confirmation %></p>

<p><%= submit_tag 'Sign up' %></p>
<% end -%>
-->